package actions;

import com.opensymphony.xwork2.ActionSupport;

public class WriteAction extends ActionSupport {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8810262642881523272L;
	private String toId;
	private String messageTitle;
	private String messgaeDetail;
	public void setToId(String toId) {
		this.toId = toId;
	}
	public String getToId() {
		return toId;
	}
	public void setMessageTitle(String messageTitle) {
		this.messageTitle = messageTitle;
	}
	public String getMessageTitle() {
		return messageTitle;
	}
	public void setMessgaeDetail(String messgaeDetail) {
		this.messgaeDetail = messgaeDetail;
	}
	public String getMessgaeDetail() {
		return messgaeDetail;
	}
	
	public String showWrite(){
		messageTitle = "";
		messgaeDetail = "";
		return SUCCESS;
	}
}
